package com.base.webapp.respm;

import java.util.ArrayList;
import java.util.List;

public class PageData<T> {
	
	private int downloadPage;
	private int page;
	private int totalNum;
	private List<Object> list = new ArrayList<>();

	public List<Object> getList() {
		return list;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}


	public void add(Object o) {
		if (list == null) {
			list = new ArrayList<>();
		}
		list.add(o);
	}

	public int getDownloadPage() {
		return downloadPage;
	}

	public void setDownloadPage(int downloadPage) {
		this.downloadPage = downloadPage;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	
}
